Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: uses beforeAll not being called since 3.0.4 #1322

Open
wants to merge 3 commits into
base: 3.x
Choose a base branch
from

Conversation

laylatichy
Copy link

@laylatichy laylatichy commented Nov 24, 2024

What:

  • Bug Fix

Description:

fixes regresion from 3.0.4 that beforeAll hook from pest()/uses() is not called
moved TestCaseMethodFactory setUp method call back to testable constructor because calling it in setUp was already to late

Related:

#1282

@laylatichy laylatichy force-pushed the fix-before-all-call-setup-earlier branch from 6e52196 to c045624 Compare November 25, 2024 06:50
…rait

setUp has to be called earlier for pest()->beforeAll to register closure
fixes regression from 3.0.4
@laylatichy laylatichy force-pushed the fix-before-all-call-setup-earlier branch from c045624 to 6d805c8 Compare December 5, 2024 03:42
…l hook

fix: invalid assertion

chore: update snapshot
@laylatichy laylatichy force-pushed the fix-before-all-call-setup-earlier branch from 3668c93 to 665112c Compare December 5, 2024 04:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant